#include "sum_TBB.h";

double* sum_TBB(double *mtx1, double *mtx2, int weight, int height)
{
	double* res = new double[ weight * height ];
	parallel_for( blocked_range<int>(0, weight * height), MatrixSummator(mtx1, mtx2, res, weight, height));

	return res;
}